<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" id="icon" href="/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title></title>
</head>

<body>
  <script>
    try {
      // 与NODEJS结合使用时，Node可使用ejs模板在此传递Node的参数
      window.NODE_CONFIG = JSON.parse('{{ configStr | safe}}').web
    }
    catch (e) {
      console.log('非Node.js环境，NODE_CONFIG设为空')
      window.NODE_CONFIG = null
    }
  </script>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>